package autoconfigure.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author zengjw
 * @Description 慢查询配置
 * @CreateTime 2023-02-27
 **/
@ConfigurationProperties(prefix = "slow")
@ConditionalOnProperty(prefix = "slow")
@Data
public class SlowProperty {
    /**
     * 慢查询毫秒数
     */
    private Long slowMillons;
}
